package cn.wolfcode.shop.cloud.util;

import cn.wolfcode.shop.cloud.common.CodeMsg;

public class SeckillGoodsCodeMsg extends CodeMsg {
    public SeckillGoodsCodeMsg() {
    }

    public SeckillGoodsCodeMsg(int code, String msg) {
        super(code, msg);
    }

    public static final SeckillGoodsCodeMsg REMOTE_GOOD_ERROR= new SeckillGoodsCodeMsg(520001,"调用商品服务繁忙");

    public static final SeckillGoodsCodeMsg SECKILL_OPT = new SeckillGoodsCodeMsg(520002,"违法操作");
    public static final SeckillGoodsCodeMsg SECKILL_REPEAT = new SeckillGoodsCodeMsg(520003,"重复下单");
    public static final SeckillGoodsCodeMsg SECKILL_OVER = new SeckillGoodsCodeMsg(520004,"没有库存了");
    public static final SeckillGoodsCodeMsg SECKILL_FAIL = new SeckillGoodsCodeMsg(520005,"秒杀失败");
    public static final SeckillGoodsCodeMsg VERIFY_CODE_ERROR = new SeckillGoodsCodeMsg(520007,"验证码错误");
    public static final SeckillGoodsCodeMsg VERIFY_CODE_EMPTY = new SeckillGoodsCodeMsg(52008,"验证码不能为空");
}
